//固井评价

// 导入封装好的网络请求类工具
import request from '../../../../utils/request.js';
// 封装各种接口请求
// export const 接口名 = () => Network.get('/路由',参数对象);

//固井评价-编辑保存数据1
export const CementEvaluationUpdate1 = (form) => {
    return request({
        url: '/logresultinterface1/logresultinterface1Update',
        method: 'put',
        data: form
    })
}

//固井评价-删除数据1
export const CementEvaluationDelete1 = (id) => {
    return request({
        url: `/logresultinterface1/logresultinterface1Delete/${id}`,
        method: 'delete'
    })
}

//固井评价-查询数据1
export const FindCementEvaluationByCondition1 = (condition, currentPage, pageSize) => {
    return request({
        url: `/logresultinterface1/findLogresultinterface1ByPage/${currentPage}/${pageSize}`,
        method: 'post',
        data: condition,
    })
}

//固井评价-新增数据1
export const CementEvaluationAdd1 = (form) => {
    return request({
        url: '/logresultinterface1/logresultinterface1Add',
        method: 'post',
        data: form
    })
}
//固井评价-编辑保存数据2
export const CementEvaluationUpdate2 = (form) => {
    return request({
        url: '/logresultinterface2/logresultinterface2Update',
        method: 'put',
        data: form
    })
}

//固井评价-删除数据2
export const CementEvaluationDelete2 = (id) => {
    return request({
        url: `/logresultinterface2/logresultinterface2Delete/${id}`,
        method: 'delete'
    })
}

//固井评价-查询数据2
export const FindCementEvaluationByCondition2 = (condition, currentPage, pageSize) => {
    return request({
        url: `/logresultinterface2/findLogresultinterface2ByPage/${currentPage}/${pageSize}`,
        method: 'post',
        data: condition,
    })
}

//固井评价-新增数据1
export const CementEvaluationAdd2 = (form) => {
    return request({
        url: '/logresultinterface2/logresultinterface2Add',
        method: 'post',
        data: form
    })
}